#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Time   :2020/8/7 10:25
# Author : fengzhilaoling


class Config(object):
    DEBUG = False
    TESTING = False
    DATABASE_URL = 'sqlite://:memory'


# 生产环境
class ProductionConfig(Config):
    DATABASE_URI = 'mysql://user@localhost/foo'


# 开发环境
class DevelopmentConfig(Config):
    DEBUG = True


# 测试环境
class TestingConfig(Config):
    TESTING = True